home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc International / Development / Sharing TSM document / Read Me < prev    next >
Encoding:
Text File  |  1996-11-14  |  1.5 KB  |  31 lines  |  [TEXT/ttxt]

  1. About OpenDoc TSM Addition
  2. By The OpenDoc Team in Japan
  3. February 19, 1996
  4.  
  5.  
  6. © 1993-1996  Apple Computer, Inc. All Rights Reserved.
  7. Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc.
  8. Mac and OpenDoc are trademarks of Apple Computer, Inc.
  9.  
  10.  
  11.  
  12. What's OpenDoc TSM Addition?
  13.  
  14. The OpenDoc TSM Addition provides a solution to share a single TSM document data structure among all the parts in an OpenDoc document.  The input method which supports multi-session, such as Kotoeri, allocates 5 to 10 K byte  in the application heap area for every TSM document (TSM session).  A text editing part which is embedded in an OpenDoc document/container will be able to reduce application heap by sharing the TSM document.
  15.  
  16. This library will be installed with OpenDoc-J or a third party product.  It means there is no guarantee that the API of the library  is always available even if OpenDoc is installed.  Therefore, the OpenDoc part needs to import this library as ˙weak import˙ at the object linking process.  
  17.  
  18.  
  19. How to install
  20.  
  21. Drop 'OpenDoc TSM Addition' shared library into Extensions:OpenDoc Libaraies folder in your system folder.  You don't need to restart your machine.
  22.  
  23.  
  24. How to link with your part
  25.  
  26. The OpenDoc part needs to import directly this library as ˙weak import˙ at the object linking process.  
  27.  
  28.  
  29. Header file
  30.  
  31. "ShareTSM.h" is a header file for development of your part which supports TSM sharing.  It need to be included in the source code  of your part.  There are three function definitions in the TSM sharing API.